package org.crazyit.album.domain;

public class Photo {

    private Integer id;

    private String title;

    private String fileName;

    private User user;


    public Photo() {
    }

    public Photo(Integer id, String title
            , String fileName, User user) {
        this.id = id;
        this.title = title;
        this.fileName = fileName;
        this.user = user;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return this.id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return this.title;
    }


    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileName() {
        return this.fileName;
    }


    public void setUser(User user) {
        this.user = user;
    }

    public User getUser() {
        return this.user;
    }
}